import { createStore, applyMiddleware } from 'redux'

import {composeWithDevTools} from 'redux-devtools-extension'

import thunk from 'redux-thunk'
import allReducers from '../redux/reduers/index'




// 暴露 store
export default createStore(allReducers, composeWithDevTools(applyMiddleware(thunk)))